package com.xuecheng.learning.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xuecheng.learning.model.dto.CourseTablesDto;
import com.xuecheng.learning.model.po.CourseTables;

public interface CourseTablesService extends IService<CourseTables> {
    CourseTablesDto getLearnStatus(Long userId, Long courseId);

    /**
     * 根据选课记录id成功添加选课
     * @param chooseCourseId
     * @return
     */
    boolean saveChooseCourseSuccess(Long chooseCourseId);
}
